package com.hwc.demo.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

import com.hwc.demo.myribbonrule.MyRibbonRule;

@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "SPRINGCLOUD-PROVIDER-DEPT", configuration = MyRibbonRule.class)
public class ConsumerDept80App {
	public static void main(String[] args) {
		SpringApplication.run(ConsumerDept80App.class, args);
	}
}
